#ifndef FIRITEM_H
#define FIRITEM_H

#include <QPoint>

class FIRItem
{
public:
    FIRItem(QPoint pt, bool bBlack);

    bool operator==(const FIRItem &item)const  //重载==运算符，两个棋子相等。常成员函数
    {
        return (mPt == item.mPt) && (mBlack == item.mBlack);
    }
public:
    QPoint mPt;
    bool mBlack;
};

#endif // FIRITEM_H
